package com.service;

import com.request.UserLoginRequest;
import com.request.UserRegisterRequest;
import com.utils.JsonData;

/**
 * @author rkc
 * @date 2022/8/24 10:16
 */
public interface UserService {

    /**
     * 注册
     * @param userRegisterRequest
     * @return
     */
    JsonData register(UserRegisterRequest userRegisterRequest);

    /**
     * 登录
     * @param userLoginRequest
     * @return
     */
    JsonData login(UserLoginRequest userLoginRequest);
}
